package com.it.spirngbootmybatis.qury;

import lombok.Data;

@Data
public class CompanyQury {
//    公司名称,
    private String companyName;
//    公司地址,
    private  String companyAddr;
//    负责人
    private String leaderName;
    //当前页数
    private Integer currentPage =1;
    //每页显示多少条
    private Integer pageSize = 50;

    public Integer getBeginIndex(){
        return (currentPage-1)*pageSize;
    }
}
